package com.chezhujie.www.domain;

import com.chezhujie.www.core.init.mysql.BaseEntity;
import com.chezhujie.www.core.init.mysql.annotation.Column;
import com.chezhujie.www.core.init.mysql.annotation.Entity;
import com.chezhujie.www.core.init.mysql.annotation.Id;
import com.chezhujie.www.core.init.mysql.annotation.Table;

import java.math.BigDecimal;

/**
 * Created by 汤伟杰 on 2017/6/14.
 */
@Entity
@Table(describe = "集群车宝商品",name = "czj_jqcb")
public class Czjjqcb extends BaseEntity{
    @Id
    @Column(describe = "主键",inputType = "hidden",length =19)
    private String jqcbId;
    @Column(describe = "图片",inputType = "file")
    private String picPath;
    @Column(describe = "标题",length =10)
    private String title;
    @Column(describe = "内容",length =100)
    private String content;
    @Column(describe = "外链接",length =1000)
    private String url;
    @Column(describe = "序号",inputType = "int",length =1)
    private Integer orderby;
    @Column(length = 11,precision = 2,describe = "原价",inputType = "decimal")
    private BigDecimal originalPrice;
    @Column(length = 11,precision = 2,describe = "现价",inputType = "decimal")
    private BigDecimal presentPrice;


    public String getJqcbId() {
        return jqcbId;
    }

    public void setJqcbId(String jqcbId) {
        this.jqcbId = jqcbId;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getOrderby() {
        return orderby;
    }

    public void setOrderby(Integer orderby) {
        this.orderby = orderby;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public BigDecimal getPresentPrice() {
        return presentPrice;
    }

    public void setPresentPrice(BigDecimal presentPrice) {
        this.presentPrice = presentPrice;
    }
}
